package com.shycloud.mido.homework.api.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

/**
 * 作业辅导
 */
@Data
@TableName(value = "zebra_homework_assist")
public class ZebraHomeworkAssist {

	/** 主键 */
	@TableId(value = "id", type = IdType.INPUT)
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long id;
	/** 作业ID */
	@TableField(value = "homework_id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long homeworkId;
	/** 语音地址 */
	@TableField(value = "voice_url")
	private String voiceUrl;
	/** 视频地址 */
	@TableField(value = "video_url")
	private String videoUrl;
	/** 文字参数 */
	@TableField(value = "params_json_font")
	private String paramsJsonFont;
	/** 画笔参数 */
	@TableField(value = "params_json_pen")
	private String paramsJsonPen;
	/** 辅导时间 */
	@TableField(value = "create_time")
	private LocalDateTime createTime;
	/** 小节序号( 第几个小节) */
	@TableField(value = "measure_index")
	private Integer measureIndex;

	public static final String COL_ID = "id";

	public static final String COL_HOMEWORK_ID = "homework_id";

	public static final String COL_VOICE_URL = "voice_url";

	public static final String COL_VIDEO_URL = "video_url";

	public static final String COL_PARAMS_JSON_FONT = "params_json_font";

	public static final String COL_PARAMS_JSON_PEN = "params_json_pen";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_MEASURE_INDEX = "measure_index";
}